import os
import subprocess as sbp

dic = './src/playback/'

files = os.listdir(dic)
os.chdir(dic)
pyfiles = []

for f in files:
	if (os.path.splitext(f)[1] == '.py'):
		pyfiles += f
		sbp.call(['python3',f])	
		#os.chmod(os.path.splitext(f)[0] + '.sh',777)
	        #os.system('sh '+ os.path.splitext(f)[0] + '.sh')

		
